<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@page import="com.lmpop.trade.ti_custcomment.*" %>
<%@page import="java.util.*" %>
<html>
  <head>
    
    <title>ti_custcomment Manager</title>
	<link href="/program/admin/index/css/style.css" rel="stylesheet" type="text/css">
</head>

<body>

  <% 
  	String info_id="";
  	if(request.getParameter("info_id")!=null) info_id = request.getParameter("info_id");
  	Ti_custcommentInfo ti_custcommentInfo = new Ti_custcommentInfo();
  	List list = ti_custcommentInfo.getListByPk(info_id);
  	Hashtable map = new Hashtable();
  	if(list!=null && list.size()>0) map = (Hashtable)list.get(0);
  	
  	String goods_id="",com_type="",content="",in_date="",user_id="",info_level="",up_num="",down_num="",reply_content="",reply_date="",reply_user_id="";
  	if(map.get("goods_id")!=null) goods_id = map.get("goods_id").toString();
  	if(map.get("com_type")!=null) com_type = map.get("com_type").toString();
  	if(map.get("content")!=null) content = map.get("content").toString();
  	if(map.get("in_date")!=null) in_date = map.get("in_date").toString();
  	if(map.get("user_id")!=null) user_id = map.get("user_id").toString();
  	if(map.get("info_level")!=null) info_level = map.get("info_level").toString();
  	if(map.get("up_num")!=null) up_num = map.get("up_num").toString();
  	if(map.get("down_num")!=null) down_num = map.get("down_num").toString();
  	if(map.get("reply_content")!=null) reply_content = map.get("reply_content").toString();
  	if(map.get("reply_date")!=null) reply_date = map.get("reply_date").toString();
  	if(map.get("reply_user_id")!=null) reply_user_id = map.get("reply_user_id").toString();

  %>
	
	<h1>Update ti_custcomment</h1>
	
	<!--
	<table width="100%" align="center" cellpadding="0" cellspacing="0" class="dl_so">
        <tr>
          <td width="9%" align="center"><img src="/program/admin/index/images/ban_01.gif" /></td>
          <td width="91%" align="left">
		  <h4>-----------------</h4>
		  <span>1----------------。</span><br/>
		  <span>2----------------。</span>
		  </td>
        </tr>
      </table>
      <br/>
	  -->
	
	
	<form action="/doTradeReg.do" method="post" name="addForm">
	<table width="100%" cellpadding="0" cellspacing="1" border="0" class="listtab">
		
		<tr>
			<td align="right" width="10%">
				goods_id:
			</td>
			<td><input name="goods_id" id="goods_id" value="<%=goods_id %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				com_type:
			</td>
			<td><input name="com_type" id="com_type" value="<%=com_type %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				content:
			</td>
			<td><input name="content" id="content" value="<%=content %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				in_date:
			</td>
			<td><input name="in_date" id="in_date" value="<%=in_date %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				user_id:
			</td>
			<td><input name="user_id" id="user_id" value="<%=user_id %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				info_level:
			</td>
			<td><input name="info_level" id="info_level" value="<%=info_level %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				up_num:
			</td>
			<td><input name="up_num" id="up_num" value="<%=up_num %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				down_num:
			</td>
			<td><input name="down_num" id="down_num" value="<%=down_num %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				reply_content:
			</td>
			<td><input name="reply_content" id="reply_content" value="<%=reply_content %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				reply_date:
			</td>
			<td><input name="reply_date" id="reply_date" value="<%=reply_date %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				reply_user_id:
			</td>
			<td><input name="reply_user_id" id="reply_user_id" value="<%=reply_user_id %>" type="text" /></td>
		</tr>
		
	</table>
	
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td align="center">
				<input type="hidden" name="bpm_id" value="9600" />
	  			<input type="hidden" name="info_id" value="<%=info_id %>" />
				<input type="submit" class="buttoncss" name="tradeSub" value="提交" />&nbsp;&nbsp;
				<input type="button" class="buttoncss" name="tradeRut" value="返回" onclick="window.location.href='index.jsp';"/>
			</td>
		</tr>
	</table>
	</form>
</body>

</html>
